package com.nanoso.dao;

import java.util.List;

import com.nanoso.exception.DAOException;
import com.nanoso.module.Url;

public interface UrlDAO {

	public List<Url> queryAllUrls() throws DAOException;

	public List<Url> queryUrlsByIds(long start, long end) throws DAOException;

	public Long queryMaxId() throws DAOException;

	public void addUrl(Url url) throws DAOException;

	public void updateUrl(Url url) throws DAOException;

	public Url queryUrlById(long id) throws DAOException;
}
